package dao;

import java.util.ArrayList;

import model.BookingDTO;
import model.search.BookingSearchDTO;

public interface BookingDAO  {
    public void insertBooking(BookingDTO booking) throws DAOException;
    public void updateBooking(BookingDTO booking) throws DAOException;
	public BookingDTO getBooking(String id) throws DAOException;
	public ArrayList<BookingDTO> getAll() throws DAOException;
	public ArrayList<BookingDTO> findBookingByCriteria(BookingSearchDTO bs)throws DAOException;
	public String generateNumber() throws DAOException;
}
